/*
Preprocessing directives of the forms
#if constant-expression new-line groupopt
#elif constant-expression new-line groupopt
check whether the controlling constant expression evaluates to nonzero.

NOT "#if....#else if......#endif"
*/

#include <stdio.h>
#include <stdlib.h>

/*#define PRODUCT_2STM1_4M*/
/*#define PRODUCT_4STM1S*/
#define PRODUCT_2STM1S

const unsigned int imgIdOrderTbl[]={
#if (defined (PRODUCT_2STM1_4M) )
	0x110d,		/* DEVT_OPCOM3500E_C_2STM1_M */
	0x0010,		/* the first fpga image TODO */
	0x0011,		/* TODO */
#else if (defined(PRODUCT_4STM1S))
	0x0,
	0x0,
	0x0,
#else if (defined(PRODUCT_2STM1S))
	0x1,
	0x2,
	0x3,
#endif
	};

int main()
{
	printf("%d,%d,%d\r\n",imgIdOrderTbl[0],imgIdOrderTbl[1],imgIdOrderTbl[2]);
	return 0;
}
